﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace dbPoll_Application.Models
{
    public class ParticipantFieldValue
    {
        public virtual int fieldValueID { get; set; }
        public virtual Participant participant { get; set; }
        public virtual ParticipantGroup groupd {get; set;} 
        public virtual String value { get; set; }

        public ParticipantFieldValue()
        {
            this.fieldValueID = -1;
            this.participant = null;
            this.groupd = null;
            this.value = String.Empty;
        }

        public ParticipantFieldValue(Participant participant)
        {
            this.fieldValueID = -1;
            this.participant = participant;
            this.value = String.Empty;
            this.groupd = null;
        }

        public ParticipantFieldValue(Participant participant, String value)
        {
            this.fieldValueID = -1;
            this.participant = participant;
            this.value = value;
            this.groupd = null;
        }

        public ParticipantFieldValue(ParticipantGroup groupd, String value)
        {
            this.fieldValueID = -1;
            this.groupd = groupd;
            this.value = value;
            this.participant = null;
        }

        public ParticipantFieldValue(int fieldValueID, Participant participant, String value)
        {
            this.fieldValueID = fieldValueID;
            this.participant = participant;
            this.value = value;
            this.groupd = null;
        }
    }
}
